<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">
        <h:head>
            <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
            <link rel="stylesheet" href="#{usuarioSesionMB.baseUrl()}resources/css/style.css" type="text/css"/>
            <title>Mi Empleo SV-Candidatos</title>
        </h:head>

        <h:body>

            <p:layout fullPage="false" style="width:960px;height:1000px;float:  none;margin:0 auto">

                <p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true">
                    <h:form>
                        <p:commandButton value="Salir" action="#{usuarioSesionMB.logOut()}" ajax="false"/>
                    </h:form>                                                                                                                     
                </p:layoutUnit>

                <p:layoutUnit position="south" size="100" closable="true" collapsible="true">
                    Footer
                </p:layoutUnit>

                <p:layoutUnit position="west" size="225" collapsible="true">
                    <h:form>
                        <p:menu style="width: 195px;">
                            <p:submenu label="General">
                                <p:menuitem value="Curriculum" url="#{cvCrudBean.cvPreparar(usuarioSesionMB.persona.idPersona)}" />                                                                                       
                            </p:submenu>                            
                    </p:menu>
                    </h:form>    
                </p:layoutUnit>

                <p:layoutUnit position="center">
                    <ui:insert name="despliegue">Aqui cambia</ui:insert>                    
                </p:layoutUnit>
                
            </p:layout>
        </h:body>
    </f:view>
</html>

